home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / programming / aros / exec / oldopenlibrary.c < prev    next >
C/C++ Source or Header  |  1996-09-12  |  1KB  |  60 lines

  1. /*
  2.     (C) 1995-96 AROS - The Amiga Replacement OS
  3.     $Id: oldopenlibrary.c,v 1.4 1996/08/13 13:56:04 digulla Exp $
  4.     $Log: oldopenlibrary.c,v $
  5.     Revision 1.4  1996/08/13 13:56:04  digulla
  6.     Replaced __AROS_LA by __AROS_LHA
  7.     Replaced some __AROS_LH*I by __AROS_LH*
  8.     Sorted and added includes
  9.  
  10.     Revision 1.3  1996/08/01 17:41:14  digulla
  11.     Added standard header for all files
  12.  
  13.     Desc:
  14.     Lang: english
  15. */
  16. #include "exec_intern.h"
  17. #include <aros/libcall.h>
  18.  
  19. /*****************************************************************************
  20.  
  21.     NAME */
  22.     #include <exec/libraries.h>
  23.     #include <clib/exec_protos.h>
  24.  
  25.     __AROS_LH1(struct Library *, OldOpenLibrary,
  26.  
  27. /*  SYNOPSIS */
  28.     __AROS_LHA(UBYTE *, libName, A1),
  29.  
  30. /*  LOCATION */
  31.     struct ExecBase *, SysBase, 68, Exec)
  32.  
  33. /*  FUNCTION
  34.     This is the same function as OpenLibrary(), only that it uses 0 as
  35.     version number. This function is obsolete. Don't use it.
  36.  
  37.     INPUTS
  38.  
  39.     RESULT
  40.  
  41.     NOTES
  42.  
  43.     EXAMPLE
  44.  
  45.     BUGS
  46.  
  47.     SEE ALSO
  48.     OpenLibrary().
  49.  
  50.     INTERNALS
  51.  
  52.     HISTORY
  53.  
  54. *****************************************************************************/
  55. {
  56.     __AROS_FUNC_INIT
  57.     return OpenLibrary(libName,0);
  58.     __AROS_FUNC_EXIT
  59. } /* OldOpenLibrary */
  60.